package com.learn.springcloud.hystrixquickstartprovider.controller;

import org.springframework.web.bind.annotation.*;

/**
 * @Time : 2018/7/26 20:08
 * @Version : 1.0
 */
@RestController
public class Provider {


    @GetMapping("/provider/hystrix/quick/start")
    public String sayHello(String name) throws Exception{
        Thread.sleep(5000);
       return "hello, " + name;
    }

}
